home *** CD-ROM | disk | FTP | other *** search
/ MACD 5 / MACD 5.bin / workbench / libs / wbstartlib.lha / WBStart / dev / c / include / libraries / wbstart.h
C/C++ Source or Header  |  1996-03-13  |  1KB  |  44 lines

  1. #ifndef LIBRARIES_WBSTART_H
  2. #define LIBRARIES_WBSTART_H
  3.  
  4. /*
  5.  * libraries/wbstart.h  V2.0
  6.  *
  7.  * shared library include file
  8.  *
  9.  * (c) 1991-1996 Stefan Becker
  10.  */
  11.  
  12. #ifndef UTILITY_TAGITEM_H
  13. #include <utility/tagitem.h>
  14. #endif
  15.  
  16. #define WBSTART_NAME    "wbstart.library"
  17. #define WBSTART_VERSION 2
  18.  
  19. /* Tags for WBStartTagList() */
  20.  
  21. /* Name of the program to start. It is relative to                   */
  22. /* WBStart_DirectoryName or WBStart_DirLock.                         */
  23. #define WBStart_Name           (TAG_USER + 1)  /* const char *       */
  24.  
  25. /* Name of a directory. Mutually exclusive to WBStart_DirectoryLock  */
  26. #define WBStart_DirectoryName  (TAG_USER + 2)  /* const char *       */
  27.  
  28. /* Lock of a directory. Mutually exclusive to WBStart_DirectoryName  */
  29. #define WBStart_DirectoryLock  (TAG_USER + 3)  /* BPTR               */
  30.  
  31. /* Stack size for the new process                                    */
  32. #define WBStart_Stack          (TAG_USER + 4)  /* ULONG              */
  33.  
  34. /* Priority for the new process                                      */
  35. #define WBStart_Priority       (TAG_USER + 5)  /* LONG               */
  36.  
  37. /* Number of arguments in WBStart_ArgumentList                       */
  38. #define WBStart_ArgumentCount  (TAG_USER + 6)  /* ULONG              */
  39.  
  40. /* Array of arguments. WBStart_ArgumentCount MUST be specified also! */
  41. #define WBStart_ArgumentList   (TAG_USER + 7)  /* struct WBArg *     */
  42.  
  43. #endif /* LIBRARIES_TOOLMANAGER_H */
  44.